package com.itbupt.eat.dto;

import com.itbupt.eat.entity.Dish;
import com.itbupt.eat.entity.DishFlavor;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author BUPT-Dingchang
 * @Create 2024/4/30 11:29
 * ClassName: DishDto
 * Description:
 */

@Data
public class DishDto extends Dish {
    // 封装菜品口味
    private List<DishFlavor> flavors = new ArrayList<>();

    // 菜品分类名称
    private String categoryName;

    // 副本
    private Integer copies;
}
